# @FileName  : vars.py
# @Time      : 2025/3/6 07:32
# @Author    : LuZhaoHui
# @Software  : PyCharm

import os
import platform

# os.environ['PYGAME_HIDE_SUPPORT_PROMPT'] = '1'

# if platform.system() == 'Linux':
#     AIPATH = '/home/%s' % (os.getlogin())
# else:
#     AIPATH = 'd:'
#
# AIMODELDIR = '%s/models' % (AIPATH)
# CHATCONF = 'chat.ini'
# RESULTCONF = 'result.ini'
FILMCONF = 'film.ini'

EXE_PATH = os.path.abspath(os.getcwd())
BASE_PATH = os.path.dirname(EXE_PATH)
LOG_PATH = os.path.join(BASE_PATH, 'log').replace('\\', '/')
CONF_PATH = os.path.join(BASE_PATH, 'conf').replace('\\', '/')
IMG_PATH = os.path.join(BASE_PATH, 'img').replace('\\', '/')
CODE_PATH = os.path.join(BASE_PATH, 'code').replace('\\', '/')

# BASE_PATH = os.path.dirname(os.path.abspath(os.getcwd()))
# LOG_PATH = os.path.join(BASE_PATH, 'log').replace('\\', '/')
# APPLOGO = 'app_logo.ico'
# ZOOMIN = 'zoomin.png'
# ZOOMOUT = 'zoomout.png'
# UP = 'up.png'
# DOWN = 'down.png'

LOGO = os.path.join(IMG_PATH, 'logo.ico').replace('\\', '/')
# APPLOGO = os.path.join(BASE_PATH, 'app_logo.ico').replace('\\', '/')
# ZOOMIN = os.path.join(IMG_PATH, 'zoomin.png').replace('\\', '/')
# ZOOMOUT = os.path.join(IMG_PATH, 'zoomout.png').replace('\\', '/')
# UP = os.path.join(IMG_PATH, 'up.png').replace('\\', '/')
# DOWN = os.path.join(IMG_PATH, 'down.png').replace('\\', '/')
# IMAGE_PATH = os.path.join(BASE_PATH, 'image').replace('\\', '/')
# RESULT_PATH = os.path.join(BASE_PATH, 'result').replace('\\', '/')
